package com.gt.quality.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.gt.quality.base.pojo.CommonTableInfo;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;
import java.io.Serializable;

/**
 * 文件导入模板(FileExportTemplate)表实体类
 *
 * @author makeJava
 * @since 2025-01-04 22:14:07
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Schema(title = "FileExportTemplate", description = "EasyCode")
@TableName(value = "file_export_template", autoResultMap = true)
public class FileExportTemplate extends CommonTableInfo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;


    /**
     * Description:  模板Id
     */
    @Schema(title = "template_id", description = "模板Id",hidden = true)
    @TableId(value = "template_id",type = IdType.ASSIGN_ID)
    private Long templateId;


    /**
     * Description:  模板名称
     */
    @TableField(value = "template_name")
    @Schema(title = "template_name", description = "模板名称")
    private String templateName;


    /**
     * Description:  模板类型:xlsx/word
     */
    @TableField(value = "template_type")
    @Schema(title = "template_type", description = "模板类型:xlsx/word")
    private String templateType;


    /**
     * Description:  模板版本
     */
    @TableField(value = "template_version")
    @Schema(title = "template_version", description = "模板版本")
    private String templateVersion;


    /**
     * Description:  模板内容字节码
     */
    @TableField(value = "template_context")
    @Schema(title = "template_context", description = "模板内容字节码",hidden = true)
    private byte[] templateContext;


    /**
     * Description:  备注
     */
    @TableField(value = "remark")
    @Schema(title = "remark", description = "备注")
    private String remark;


}


